import type { TooltipProps } from '../Tooltip/types'
import type { VNode } from 'vue'

export interface DropdownProps {
    label: string | VNode;
    key: string | number;
    disabled?: boolean;
    divided?: boolean;
}

export interface Dropdown extends TooltipProps {
    menuOptions: DropdownProps[],
    hideOptions?: boolean
}

export interface DropdownEmits {
    visibleChange: [value: boolean]
    select: [value: DropdownProps]
}

export interface DropdownInstance {
    show: () => void,
    hide: () => void
}

